package com.appkubes.mall.core.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 淘宝客商品
 * @author Rongjie
 */
@Data
@TableName("mall_goods_taobao")
@KeySequence(value = "mall_goods_taobao_SEQ")
@ApiModel(value = "MallGoodsTaobao对象")
public class MallGoodsTaobao implements Serializable{

       @ApiModelProperty(value = "app_key")
       private String appKey;

       @TableId(value = "goods_key", type = IdType.UUID)
       @ApiModelProperty(value = "goodsKey")
       private String goodsKey;

       @ApiModelProperty(value = "淘宝商品id")
       private String goodsId;

       @ApiModelProperty(value = "淘宝优惠券ID（淘券）")
       private String couponId;

       @ApiModelProperty(value = "商品淘宝链接")
       private String itemLink;

       @ApiModelProperty(value = "淘宝标题")
       private String title;

       @ApiModelProperty(value = "短标题")
       private String dtitle;

       @ApiModelProperty(value = "推广文案")
       private String promotionText;

       @ApiModelProperty(value = "一级分类id", example = "1")
       private Integer cid;

       @ApiModelProperty(value = "二级分类id")
       private String subcid;

       @ApiModelProperty(value = "商品在淘宝的分类id", example = "1")
       private Integer tbcid;

       @ApiModelProperty(value = "商品主图链接")
       private String mainPic;

       @ApiModelProperty(value = "营销主图链接")
       private String marketingMainPic;

       @ApiModelProperty(value = "商品原价")
       private BigDecimal originalPrice;

       @ApiModelProperty(value = "券后价")
       private BigDecimal actualPrice;

       @ApiModelProperty(value = "折扣力度")
       private BigDecimal discounts;

       @ApiModelProperty(value = "佣金类型，0-通用，1-定向，2-高佣，3-营销计划", example = "1")
       private Integer commissionType;

       @ApiModelProperty(value = "佣金比例")
       private BigDecimal commissionRate;

       @ApiModelProperty(value = "佣金")
       private BigDecimal commission;

       @ApiModelProperty(value = "优惠券链接")
       private String couponLink;

       @ApiModelProperty(value = "券总量", example = "1")
       private Integer couponTotalNum;

       @ApiModelProperty(value = "领券量", example = "1")
       private Integer couponReceiveNum;

       @ApiModelProperty(value = "优惠券结束时间")
       private Date couponEndTime;

       @ApiModelProperty(value = "优惠券开始时间")
       private Date couponStartTime;

       @ApiModelProperty(value = "优惠券金额", example = "1")
       private Integer couponPrice;

       @ApiModelProperty(value = "优惠券使用条件")
       private String couponConditions;

       @ApiModelProperty(value = "30天销量", example = "1")
       private Integer monthSales;

       @ApiModelProperty(value = "2小时销量", example = "1")
       private Integer twoHoursSales;

       @ApiModelProperty(value = "当天销量", example = "1")
       private Integer dailySales;

       @ApiModelProperty(value = "是否是品牌商品", example = "1")
       private Integer brand;

       @ApiModelProperty(value = "品牌id", example = "1")
       private Long brandId;

       @ApiModelProperty(value = "品牌名称")
       private String brandName;

       @ApiModelProperty(value = "商品上架时间")
       private Date putawayTime;

       @ApiModelProperty(value = "是否天猫超市商品，1-天猫超市商品，0-非天猫超市商品", example = "1")
       private Integer tchaoshi;

       @ApiModelProperty(value = "活动类型，1-无活动，2-淘抢购，3-聚划算", example = "1")
       private Integer activityType;

       @ApiModelProperty(value = "活动开始时间")
       private Date activityStartTime;

       @ApiModelProperty(value = "活动结束时间")
       private Date activityEndTime;

       @ApiModelProperty(value = "店铺类型，1-天猫，0-淘宝", example = "1")
       private Integer shopType;

       @ApiModelProperty(value = "是否金牌卖家，1-金牌卖家，0-非金牌卖家", example = "1")
       private Integer goldSellers;

       @ApiModelProperty(value = "是否海淘，1-海淘商品，0-非海淘商品", example = "1")
       private Integer haitao;

       @ApiModelProperty(value = "淘宝卖家id")
       private String sellerId;

       @ApiModelProperty(value = "店铺名称")
       private String shopName;

       @ApiModelProperty(value = "淘宝店铺等级", example = "1")
       private Integer shopLevel;

       @ApiModelProperty(value = "描述分")
       private BigDecimal descScore;

       @ApiModelProperty(value = "描述相符")
       private BigDecimal dsrScore;

       @ApiModelProperty(value = "描述同行比")
       private BigDecimal dsrPercent;

       @ApiModelProperty(value = "物流服务")
       private BigDecimal shipScore;

       @ApiModelProperty(value = "物流同行比")
       private BigDecimal shipPercent;

       @ApiModelProperty(value = "服务态度")
       private BigDecimal serviceScore;

       @ApiModelProperty(value = "服务同行比")
       private BigDecimal servicePercent;

       @ApiModelProperty(value = "热推值", example = "1")
       private Integer hotPush;

       @ApiModelProperty(value = "放单人key")
       private String customerKey;

       @ApiModelProperty(value = "放单人名称")
       private String teamName;

       @ApiModelProperty(value = "商品主图（需要做适配）")
       private String detailPics;

       @ApiModelProperty(value = "淘宝轮播图")
       private String imgs;

       @ApiModelProperty(value = "相关商品图")
       private String reimgs;

       @ApiModelProperty(value = "定金，若无定金，则显示0", example = "1")
       private Integer quanMlink;

       @ApiModelProperty(value = "立减，若无立减金额，则显示0", example = "1")
       private Integer hzQuanOver;

       @ApiModelProperty(value = "0.不包运费险 1.包运费险", example = "1")
       private Integer yunfeixian;

       @ApiModelProperty(value = "预估淘礼金")
       private BigDecimal estimateAmount;

       @ApiModelProperty(value = "店铺logo")
       private String shopLogo;

       @ApiModelProperty(value = "更新时间")
       private Date updateTime;

       @ApiModelProperty(value = "创建时间")
       private Date createTime;

       @ApiModelProperty(value = "版本号", example = "1")
       @Version
       private Integer version;

}
